﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Coldairarrow.Entity.Interface
{
    /// <summary>
    /// 亚马逊订单
    /// </summary>
    /// 

    public class eBay_MSKUDTO
    {
        public string code { get; set; }
        public string message { get; set; }
        public string request_id { get; set; }
        public string response_time { get; set; }
        public int total { get; set; }
        public List<eBay_MSKU> data { get; set; }

    }


    public class eBay_MSKU
    {
        public string ID { get; set; }
        public string RowId { get; set; }

        /// <summary>
        /// 商品跳转链接
        /// </summary>
        public string item_url { get; set; }
        /// <summary>
        /// 图片链接
        /// </summary>
        public string picture_url { get; set; }

        /// <summary>
        /// 商品ID
        /// </summary>
        public string item_id { get; set; }
        /// <summary>
        /// MSKU
        /// </summary>
        public string msku { get; set; }
        /// <summary>
        /// 变体属性
        /// </summary>
        public string attribute { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        public string title { get; set; }
        /// <summary>
        /// 品名
        /// </summary>
        public string local_name { get; set; }
        /// <summary>
        /// SKU
        /// </summary>
        public string local_sku { get; set; }
        /// <summary>
        /// 状态值
        /// </summary>
        public string listing_status { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public string listing_status_name { get; set; }
        /// <summary>
        /// 店铺id
        /// </summary>
        public string store_id { get; set; }
        /// <summary>
        /// 店铺
        /// </summary>
        public string store_name { get; set; }
        /// <summary>
        /// 国家id
        /// </summary>
        public string site_code { get; set; }
        /// <summary>
        /// 国家
        /// </summary>
        public string site_name { get; set; }
        /// <summary>
        /// 销售类型id
        /// </summary>
        public string listing_type { get; set; }
        /// <summary>
        /// 销售类型
        /// </summary>
        public string listing_type_name { get; set; }
        /// <summary>
        /// 价格
        /// </summary>
        public string price { get; set; }
        /// <summary>
        /// 起拍价
        /// </summary>
        public string start_price { get; set; }
        /// <summary>
        /// 一口价
        /// </summary>
        public string accept_price { get; set; }
        /// <summary>
        /// 库存
        /// </summary>
        public string quantity { get; set; }
        /// <summary>
        /// 是否自动补货
        /// </summary>
        public string auto_restock { get; set; }
        /// <summary>
        /// 自动补货响应
        /// </summary>
        public product_auto_restock_response product_auto_restock_response { get; set; }
        /// <summary>
        /// 物品所在地
        /// </summary>
        public string location { get; set; }
        /// <summary>
        /// 处理时间
        /// </summary>
        public string dispatch_time_max { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public string listing_end_time { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public string Platform { get; set; }

    }
    public class product_auto_restock_response
    {
        /// <summary>
        /// 商品变体唯一ID(雪花ID)
        /// </summary>
        public string variantUniqueId { get; set; }
        /// <summary>
        /// 补货类型
        /// </summary>
        public string autoRestockName { get; set; }
        /// <summary>
        /// 同步间隔时间
        /// </summary>
        public string disableReasonName { get; set; }
        /// <summary>
        /// 自动停用具体原因
        /// </summary>
        public string autoDisableReason { get; set; }
        /// <summary>
        /// 补货数量
        /// </summary>
        public string restockQuantity { get; set; }
        /// <summary>
        /// 补货仓库ID
        /// </summary>
        public string restockWarehouseId { get; set; }


    }


}
